﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace LJX.SmartPark.EntityFramework.Migrations
{
    public partial class create15 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "SortId",
                table: "Patrolpath");

            migrationBuilder.AddColumn<string>(
                name: "Remark",
                table: "Patrolpath",
                type: "nvarchar(200)",
                maxLength: 200,
                nullable: false,
                defaultValue: "");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Remark",
                table: "Patrolpath");

            migrationBuilder.AddColumn<int>(
                name: "SortId",
                table: "Patrolpath",
                type: "int",
                nullable: false,
                defaultValue: 0);
        }
    }
}
